Spread Windows Forms 17
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / SparseArray<T> Class / RemoveRange Method
Specifies the index of the first item to remove, and must be greater than or equal to 0 and less than Length, or an IndexOutOfRangeException is thrown.
Specifies the number of null items to remove, and must be greater than 0 and less than Length - index, or an ArgumentOutOfRangeException is thrown.


In This Topic
    RemoveRange Method (SparseArray<T>)
    In This Topic
    Removes a range of items from the SparseArray.
    Syntax
    'Declaration
     
    
    Public Sub RemoveRange( _
       ByVal index As Integer, _
       ByVal count As Integer _
    ) 
    'Usage
     
    
    Dim instance As SparseArray(Of T)
    Dim index As Integer
    Dim count As Integer
     
    instance.RemoveRange(index, count)
    public void RemoveRange( 
       int index,
       int count
    )

    Parameters

    index
    Specifies the index of the first item to remove, and must be greater than or equal to 0 and less than Length, or an IndexOutOfRangeException is thrown.
    count
    Specifies the number of null items to remove, and must be greater than 0 and less than Length - index, or an ArgumentOutOfRangeException is thrown.
    See Also